package org.example.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import groovy.transform.EqualsAndHashCode;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author shenguangyang
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
@TableName("product_order")
@EqualsAndHashCode(callSuper = true)
public class ProductOrderDO {
    @TableId
    private Long id;
    private Long userId;
    private String outTradeNo;
    private String state;
    private Date createTime;
    private BigDecimal payAmount;
    private String nickname;
}
